package com.lzy.concertticket.dao;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lzy.concertticket.dao.mapper.FlowMapper;
import com.lzy.concertticket.model.entity.FlowEntity;
import com.lzy.concertticket.model.req.FlowReq;
import com.lzy.concertticket.model.vo.FlowVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FlowDao extends ServiceImpl<FlowMapper, FlowEntity>  {

    public List<FlowVo> countFlow(FlowReq flowReq) {
        return baseMapper.countFlow(flowReq);
    }
}
